
import { configureStore } from '@reduxjs/toolkit'
import counter from './Counter/countSlice'
import person from './Person/index'
// 创建仓库
const store = configureStore({
  reducer: {
    // 不可以为空
    counter: counter.reducer,

    person: person.reducer
  }
})


// 抛出
export default store